﻿using UnityEngine.UI;

public static class UIExtends
{
    public static void SetPreferredWidth(this LayoutElement graphic, float val)
    {
        graphic.preferredWidth = val;
    }
    public static void SetPreferredHeight(this LayoutElement graphic, float val)
    {
        graphic.preferredHeight = val;
    }
}
